package com.zoe.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author Zoe.Zhang
 * @date 2021/10/16
 * @description
 */
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)
@MapperScan(basePackages = {"com.**.mapper"})
public class DynamicDataSourceThreadLocal {
    public static void main(String[] args) {
        SpringApplication.run(DynamicDataSourceThreadLocal.class, args);
    }
}
